<?php
$data=$_POST;
//var_dump($data);
if($data['usename']=='' or $data['liuyan']==''){
    header("Location:./index.php");
    return ;
}
$time=time();
$data['fabusj']=$time;
$arr=include_once './db.php';
array_push($arr,$data);
//var_dump($arr);
//var_export
$str=var_export($arr,true);
$res="<?php return ".$str."?>";
//var_dump($res);
//var_dump($res);
file_put_contents("./db.php",$res);
header("Location:./index.php");